<script setup>

</script>

<template>
  <div>
    <el-container class="home-container">
      <el-aside>
        <el-menu router>
          <el-menu-item index="/member/index">
            <el-icon>
              <user/>
            </el-icon>
            <span>会员管理</span>
          </el-menu-item>
          <el-menu-item>
            <el-icon>
              <present/>
            </el-icon>
            <span>商品管理</span>
          </el-menu-item>
          <el-menu-item>
            <el-icon>
              <box/>
            </el-icon>
            <span>订单管理</span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<style scoped>
.home-container {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background: #ddd;
}

.el-aside {
  background: #fff;
  width: auto;
}
</style>